package io.renren.modules.admin.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 课程内容
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2019-12-17 18:24:00
 */
@Data
@TableName("course_content")
public class CourseContentEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Long courseContentId;
	/**
	 * 内容标题
	 */
	@ApiModelProperty("内容标题")
	private String contentTitle;
	/**
	 * 缩略图
	 */
	@ApiModelProperty("缩略图")
	private String imgUrl;
	/**
	 *
	 */
	@ApiModelProperty("课程id ")
	private Long courseId;
	/**
	 * 资源地址
	 */
	@ApiModelProperty("资源地址 ")
	private String contentResourse;
	/**
	 *
	 */
	@ApiModelProperty("内容序号")
	private Integer contentNo;

	@TableField(exist = false)
	private CourseDemoEntity courseDemoEntity;



}
